package ooday02;

public class People {
    String name;
    int age;
    String address;
    People(String name,int age,String address){
        this.name =name;
        this.age=age;
        this.address=address;
    }
    void eat(){
        System.out.println(name+"在吃饭");
    }
    void sleep(){
        System.out.println(name+"在睡觉");
    }
    void sayHi(){
        System.out.println("大家好，我叫"+name+"，我今年"+age+"岁了");
    }
}
